package com.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class Subject implements Serializable {
    private Integer id;

    private String itemName;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-mm-dd HH:mm:ss")
    private Date prizeTime;

    private String prizeLevel;

    private String teaName;

    private float teaWorkPer;

    private String stuName;

    private String stuNum;

    private String stuCol;

    private String stuClass;

    private String stuPho;

    private float stuWorkPer;

    private String proName;

    private String remark;

    private static final long serialVersionUID = 1L;

    private int page;

    private int rows;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName == null ? null : itemName.trim();
    }

    public Date getPrizeTime() {
        return prizeTime;
    }

    public void setPrizeTime(Date prizeTime) {
        this.prizeTime = prizeTime;
    }

    public String getPrizeLevel() {
        return prizeLevel;
    }

    public void setPrizeLevel(String prizeLevel) {
        this.prizeLevel = prizeLevel == null ? null : prizeLevel.trim();
    }

    public String getTeaName() {
        return teaName;
    }

    public void setTeaName(String teaName) {
        this.teaName = teaName == null ? null : teaName.trim();
    }

    public float getTeaWorkPer() {
        return teaWorkPer;
    }

    public void setTeaWorkPer(float teaWorkPer) {
        this.teaWorkPer = teaWorkPer;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName == null ? null : stuName.trim();
    }

    public String getStuNum() {
        return stuNum;
    }

    public void setStuNum(String stuNum) {
        this.stuNum = stuNum == null ? null : stuNum.trim();
    }

    public String getStuCol() {
        return stuCol;
    }

    public void setStuCol(String stuCol) {
        this.stuCol = stuCol == null ? null : stuCol.trim();
    }

    public String getStuClass() {
        return stuClass;
    }

    public void setStuClass(String stuClass) {
        this.stuClass = stuClass == null ? null : stuClass.trim();
    }

    public String getStuPho() {
        return stuPho;
    }

    public void setStuPho(String stuPho) {
        this.stuPho = stuPho == null ? null : stuPho.trim();
    }

    public float getStuWorkPer() {
        return stuWorkPer;
    }

    public void setStuWorkPer(float stuWorkPer) {
        this.stuWorkPer = stuWorkPer;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName == null ? null : proName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    @Override
    public String toString() {
        return "Subject{" +
                "id=" + id +
                ", itemName='" + itemName + '\'' +
                ", prizeTime=" + prizeTime +
                ", prizeLevel='" + prizeLevel + '\'' +
                ", teaName='" + teaName + '\'' +
                ", teaWorkPer=" + teaWorkPer +
                ", stuName='" + stuName + '\'' +
                ", stuNum='" + stuNum + '\'' +
                ", stuCol='" + stuCol + '\'' +
                ", stuClass='" + stuClass + '\'' +
                ", stuPho='" + stuPho + '\'' +
                ", stuWorkPer=" + stuWorkPer +
                ", proName='" + proName + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}